<template>
  <div>
        <van-nav-bar
      title="商品评论"
      left-text="返回"
      left-arrow
      @click-left="$router.go(-1)"
      class="fixed-top"
    />
    <comment :id="id"></comment>
  </div>
</template>
<script>
import Comment from '@/components/comment'
export default {
  components: {
    Comment
  },
  data () {
    return {
      id: +this.$route.params.id
    }
  }
}
</script>
